import axios from 'axios';

let base = "/mapservice";

export const requestSearch = params => {
    let url = base.concat("/page?pageNo=")+params.pageNo+"&pageSize="+params.pageSize;
    return axios.post(url, params);
};

export const requestUpdate = params =>{
    let url = base;
    return axios.put(url,params);
};